package cn.jiahua.hospital.service;

import cn.jiahua.hospital.pojo.HdidRelation;

import java.util.Date;
import java.util.List;
import java.util.Map;

import cn.jiahua.hospital.dto.Page;
import org.apache.ibatis.annotations.Param;

/**
 * Created by shang-pc on 2015/11/7.
 */
public interface HdidRelationService {


    public HdidRelation getHdidRelationById(Integer id);

    public List<HdidRelation> getHdidRelationListByMap(Map<String, Object> param);

    public Integer getHdidRelationCountByMap(Map<String, Object> param);

    public Integer qdtxAddHdidRelation(HdidRelation hdidRelation);

    public Integer qdtxModifyHdidRelation(HdidRelation hdidRelation);

    public Integer qdtxDeleteHdidRelationById(Integer id);

    public Integer qdtxBatchDeleteHdidRelation(String ids);

    public Page<HdidRelation> queryHdidRelationPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize);

    public Integer modify(HdidRelation hdidRelation);

    public Integer modifyDoctor(HdidRelation hdidRelation);

    public List<HdidRelation> selectDT(@Param("hospitalId") Integer hospitalId,
                                       @Param("tdepartmentsName")String tdepartmentsName,
                                       @Param("name") String name);
}
